Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find asset catalogs automatically #5

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

joeboyscout04
Copy link
Collaborator

Hey! I finally had a little time to complete a project which I was wanting to do for a while, supporting multiple asset catalogs and finding the asset catalogs automatically within the source. So now you can just add

${PODS_ROOT}/AssetChecker/run

into your Build Phases and it should just work.

I also changed the error output so that it will link to the file where the asset is missing instead of the asset catalog. I think this is a bit more helpful.

I also added some images for testing in the sample project, as well as some instances of errors and warnings. The sample project throws the correct AssetChecker errors and warnings.

Hopefully you can find some time to review these additions. This was a pretty large refactoring of the script file. I've tested it in two of my projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant